FormattedSection

open class FormattedSection

A component of the Formatted.

Constructors

Link copied to clipboard
open fun FormattedSection(@NonNull text: String)
Creates a formatted section.
Link copied to clipboard
open fun FormattedSection(@NonNull text: String, @Nullable fontScale: Number, @Nullable fontStack: Array<String>, @Nullable textColor: String)
Creates a formatted section.
Link copied to clipboard
open fun FormattedSection(@NonNull text: String, @Nullable fontScale: Number, @Nullable fontStack: Array<String>)
Creates a formatted section.
Link copied to clipboard
open fun FormattedSection(@NonNull text: String, @Nullable fontScale: Number)
Creates a formatted section.
Link copied to clipboard
open fun FormattedSection(@NonNull text: String, @Nullable fontStack: Array<String>)
Creates a formatted section.

Functions

Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun setTextColor(@ColorInt textColor: Int)
Set the text color.
Link copied to clipboard
open fun toString(): String

Properties

Link copied to clipboard
open var fontScale: Number
Link copied to clipboard
Link copied to clipboard
@get:NonNull
open val text: String
Link copied to clipboard
open var textColor: String